<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>用户登录</title>
  <style>
    div input {
      width: 120px;
      height: 25px;
      margin-right: 10px;
    }
    h1 {
      color: rgb(39, 39, 41);
    }
  </style>
  <script lang="javascript">
    function login(){
      var username=document.form_login.username.value;
      var password=document.form_login.password.value;
      if(username==""||password==""){
        document.form_login.username.value="";
        document.form_login.password.value="";
        alert("账号或密码不能为空！");
      }
    }
  </script>
</head>
<body align="center">
<img src="./img/user.png" alt="黑龙江财经学院" width="300" height="300">

<h1>极客协会员工信息管理系统</h1><br>

<form action="userLogin" method="post" name="form_login">
  <label>员工账号：</label> <input type="text" name="username"><br><br>
  <label>登录密码：</label> <input type="password" name="password"><br><br><br>
  <div>
    <input type="submit" value="登 录" onclick="login()">
    <input type="reset" value="重 置">
  </div>
</form>
</body>
</html>